{% extends "base.html" %}

{% block title %}news.header{% endblock %}


{% block content %}

<h2>{{news.header}}</h2>
<p class="post-info">Posted by {{ news.author}}</p>

<p>{{news.text}}</p>


</br></br>
{% for comment in comments %}

<ol class="commentlist">
    <li>
        <span style="color:green">{{comment.author}}</span> <span class="post-info">{{comment.pub_date}}</span>

        <p>{{comment.text}}</p>
    </li>
</ol>

{% endfor %}

<form  method="post" id="contactform">
    {{ comment_form.as_p }}
    <input type="submit" value="Submit"/>
</form>





{% endblock %}

